package com.example.demo.api;

import com.example.demo.request.LoginRequest;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;

public interface ApiService {


    // 示例 POST 请求
    @POST("/login")
    Call<ResponseData> login(@Body LoginRequest loginRequest);

    @GET("/getInfo")
    Call<ResponseData> getInfo();



}
